package com.s4j.struts.biz.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="biz_cp_appr")
public class BizCpAppr {

	private Long apprId;
	
	private PatientDoc patient;
	
	private Integer q1;
	
	private Integer q5;
	
	private Integer q10;
	
	private String q10Value;
	
	private String q15;
	
	private String q20;
	
	private Integer q25_1;
	
	private Integer q25_2;
	
	private Integer q25_3;
	
	private Integer q25_4;
	
	private Integer q25_5;
	
	private Integer q25_6;
	
	private Integer q25_7;
	
	private String q25Value;
	
	private Integer q30_1;
	
	private Integer q30_2;
	
	private Integer q30_3;
	
	private Integer q30_4;
	
	private Integer q30_5;
	
	private String q30Value;
	
	private Integer q35_1;
	
	private Integer q35_2;
	
	private Integer q35_3;
	
	private Integer q35_4;
	
	private Integer q35_5;
	
	private String q35Value;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getApprId() {
		return apprId;
	}

	public void setApprId(Long apprId) {
		this.apprId = apprId;
	}

	@OneToOne  
    @JoinColumn(name="patientId",insertable=true,unique=true)
	public PatientDoc getPatient() {
		return patient;
	}

	public void setPatient(PatientDoc patient) {
		this.patient = patient;
	}

	public Integer getQ1() {
		return q1;
	}

	public void setQ1(Integer q1) {
		this.q1 = q1;
	}

	public Integer getQ5() {
		return q5;
	}

	public void setQ5(Integer q5) {
		this.q5 = q5;
	}

	public Integer getQ10() {
		return q10;
	}

	public void setQ10(Integer q10) {
		this.q10 = q10;
	}

	public String getQ10Value() {
		return q10Value;
	}

	public void setQ10Value(String q10Value) {
		this.q10Value = q10Value;
	}

	public String getQ15() {
		return q15;
	}

	public void setQ15(String q15) {
		this.q15 = q15;
	}

	public String getQ20() {
		return q20;
	}

	public void setQ20(String q20) {
		this.q20 = q20;
	}

	public Integer getQ25_1() {
		return q25_1;
	}

	public void setQ25_1(Integer q25_1) {
		this.q25_1 = q25_1;
	}

	public Integer getQ25_2() {
		return q25_2;
	}

	public void setQ25_2(Integer q25_2) {
		this.q25_2 = q25_2;
	}

	public Integer getQ25_3() {
		return q25_3;
	}

	public void setQ25_3(Integer q25_3) {
		this.q25_3 = q25_3;
	}

	public Integer getQ25_4() {
		return q25_4;
	}

	public void setQ25_4(Integer q25_4) {
		this.q25_4 = q25_4;
	}

	public Integer getQ25_5() {
		return q25_5;
	}

	public void setQ25_5(Integer q25_5) {
		this.q25_5 = q25_5;
	}

	public Integer getQ25_6() {
		return q25_6;
	}

	public void setQ25_6(Integer q25_6) {
		this.q25_6 = q25_6;
	}

	public Integer getQ25_7() {
		return q25_7;
	}

	public void setQ25_7(Integer q25_7) {
		this.q25_7 = q25_7;
	}

	public String getQ25Value() {
		return q25Value;
	}

	public void setQ25Value(String q25Value) {
		this.q25Value = q25Value;
	}

	public Integer getQ30_1() {
		return q30_1;
	}

	public void setQ30_1(Integer q30_1) {
		this.q30_1 = q30_1;
	}

	public Integer getQ30_2() {
		return q30_2;
	}

	public void setQ30_2(Integer q30_2) {
		this.q30_2 = q30_2;
	}

	public Integer getQ30_3() {
		return q30_3;
	}

	public void setQ30_3(Integer q30_3) {
		this.q30_3 = q30_3;
	}

	public Integer getQ30_4() {
		return q30_4;
	}

	public void setQ30_4(Integer q30_4) {
		this.q30_4 = q30_4;
	}

	public Integer getQ30_5() {
		return q30_5;
	}

	public void setQ30_5(Integer q30_5) {
		this.q30_5 = q30_5;
	}

	public String getQ30Value() {
		return q30Value;
	}

	public void setQ30Value(String q30Value) {
		this.q30Value = q30Value;
	}

	public Integer getQ35_1() {
		return q35_1;
	}

	public void setQ35_1(Integer q35_1) {
		this.q35_1 = q35_1;
	}

	public Integer getQ35_2() {
		return q35_2;
	}

	public void setQ35_2(Integer q35_2) {
		this.q35_2 = q35_2;
	}

	public Integer getQ35_3() {
		return q35_3;
	}

	public void setQ35_3(Integer q35_3) {
		this.q35_3 = q35_3;
	}

	public Integer getQ35_4() {
		return q35_4;
	}

	public void setQ35_4(Integer q35_4) {
		this.q35_4 = q35_4;
	}

	public Integer getQ35_5() {
		return q35_5;
	}

	public void setQ35_5(Integer q35_5) {
		this.q35_5 = q35_5;
	}

	public String getQ35Value() {
		return q35Value;
	}

	public void setQ35Value(String q35Value) {
		this.q35Value = q35Value;
	}
}
